package com.yuba.front.domain.bo;

import com.yuba.common.mybatis.core.domain.BaseEntity;
import com.yuba.front.domain.FrontUser;
import io.github.linpeilie.annotations.AutoMapper;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * 前台用户业务对象 front_user
 *
 * @author modakai
 * @date 2024-11-30
 */
@Data
@EqualsAndHashCode(callSuper = true)
@AutoMapper(target = FrontUser.class, reverseConvertGenerate = false)
public class FrontUserBo extends BaseEntity {


    private Long userId;

    /**
     * 用户账号
     */
//    @NotBlank(message = "用户账号不能为空", groups = { AddGroup.class, EditGroup.class })
    private String username;

    /**
     * 用户昵称
     */
//    @NotBlank(message = "用户昵称不能为空", groups = { AddGroup.class, EditGroup.class })
    private String nickname;

    /**
     * 邮箱
     */
    private String email;

    /**
     * 用户类型
     */
    private String userType;

    /**
     * 用户密码
     */
    private String password;

    /**
     * 性别；0男 1女
     */
//    @NotBlank(message = "性别不能为空", groups = { AddGroup.class, EditGroup.class })
    private String sex;

    /**
     * 账号状态 (0正常 1停用)
     */
//    @NotBlank(message = "账号状态不能为空", groups = { AddGroup.class, EditGroup.class })
    private String status;

    private Long avatar;

    /**
     * 备注
     */
    private String remark;


}
